package com.jyh.db.mapper;

import com.jyh.db.entity.JyhPerson;
import com.jyh.db.entity.JyhPersonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JyhPersonMapper {
    /**
     *
     * @mbggenerated 2017-10-18
     */
    int countByExample(JyhPersonExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int deleteByExample(JyhPersonExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int insert(JyhPerson record);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int insertSelective(JyhPerson record);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    List<JyhPerson> selectByExample(JyhPersonExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    JyhPerson selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int updateByExampleSelective(@Param("record") JyhPerson record, @Param("example") JyhPersonExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int updateByExample(@Param("record") JyhPerson record, @Param("example") JyhPersonExample example);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int updateByPrimaryKeySelective(JyhPerson record);

    /**
     *
     * @mbggenerated 2017-10-18
     */
    int updateByPrimaryKey(JyhPerson record);
}